/**
 * Created by xuelei.kong on 2015/7/10.
 */


var http = require("http");
var url=require("url");
var server=http.createServer(function (req,res) {
    console.log(req.url);
    console.log(url.parse(req.url,true).query.a);

    res.writeHeader("200",{"contentType":"text/plain"});
    res.write("hello node");
    res.end();


})
server.listen("1337");
